﻿namespace Attacher.HotKeys
{
	using System.Windows.Forms;
	using System.Windows.Input;

	public class HotKey
	{
		#region Properties

		public Keys Key { get; private set; }

		public ModifierKeys ModifierKeys { get; private set; }

		#endregion

		#region Public Methods

		public HotKey(Keys key, ModifierKeys modifierKeys)
		{
			ParameterChecker.IsNotInvalidEnumValue(key, Keys.None, typeof(Keys), "key");
			ParameterChecker.IsNotInvalidEnumValue(modifierKeys, ModifierKeys.None, typeof(ModifierKeys), "modifierKeys");

			this.ModifierKeys = modifierKeys;
			this.Key = key;
		}

		#endregion
	}
}
